﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ZhongKeSite.Entity
{
    [Table("Expert")]
    public class Expert
    {
        [Key]
        [MaxLength(50)]
        public string ID { get; set; }
        /// <summary>
        /// 专家名字
        /// </summary>
        [MaxLength(100)]
        public string ExpertName { get; set; }
        /// <summary>
        /// 个人照片
        /// </summary>
        [MaxLength(200)]
        public string AvatarImage { get; set; }
        /// <summary>
        /// 学历：博士，硕士，学士
        /// </summary>
        [MaxLength(50)]
        public string Education { get; set; }
        /// <summary>
        /// 职位：中科三安植物工厂研究院高级工程师
        /// </summary>
        [MaxLength(100)]
        public string Position { get; set; }
        /// <summary>
        /// 介绍
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int SortNo { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDel { get; set; }
        [MaxLength(50)]
        public string AddBy { get; set; }
        public Nullable<DateTime> AddDate { get; set; }
        [MaxLength(50)]
        public string UpdateBy { get; set; }
        public Nullable<DateTime> UpdateDate { get; set; }
    }
}
